<div class="boss_pathway">
<?php $this->displayPathway(); ?>
</div>
<h1 class="detailstitle">
	<?php $this->displayContentTitle($content,false); ?>
	&nbsp;<?php $this->PrintIcon($content,'<img src="/images/M_images/printButton.png" alt="Print" align="top" />');?>
	&nbsp;<?php $this->EmailIcon($content,'<img src="/images/M_images/emailButton.png" alt="Email" align="top" />');?>
</h1>
<?php if ($this->displayTags()) { ?>
    <div class="tags">
        <?php echo $this->displayTags(); ?>
    </div>
<?php } ?>

<div class="details">
    <div class="boss_vote">
        <div>
            <?php
            if ($this->isRatingAllowed()) {
                $this->displayVoteResult($content);
                echo "<br/>";
                $this->displayNumVotes($content);
            }
            if ($this->isReviewAllowed()) {
                echo " - ";
                $this->displayNumReviews($content);
                echo "<br/>";
            }
            ?>
        </div>
            <?php if ($this->isRatingAllowed()) { ?>
                <div>
                    <?php $this->displayVoteForm($content); ?><br/>
                </div>
            <?php } ?>
            <div>
                <?php $this->displayContentEditDelete($content); ?><br />
            </div>
    </div>
    <div class="details_profile">
         <?php $this->showProfile($content); ?>
    </div>
    <br style="clear: both" />
	<div class="details_subtitle1">
	<?php
	if ($this->countFieldsInGroup("DetailsSubtitle1"))
		$this->loadFieldsInGroup($content,"DetailsSubtitle1","<br/>",null,null,0);
	?>
    </div>
    <div class="details_subtitle2">
	<?php
	if ($this->countFieldsInGroup("DetailsSubtitle2"))
		$this->loadFieldsInGroup($content,"DetailsSubtitle2","<br/>",null,null,0);
	?>
    </div>
    <div class="details_subtitle3">
	<?php
	if ($this->countFieldsInGroup("DetailsSubtitle3"))
		$this->loadFieldsInGroup($content,"DetailsSubtitle3","<br/>",null,null,0);
	?>
    </div>
    

<div class="other">
<?php 
if ($this->countFieldsInGroup("DetailsDescription"))
	$this->loadFieldsInGroup($content,"DetailsDescription","&nbsp;");
?>
</div>

<div class="boss_contents_image">
	<?php $this->displayGallery($content,$this->conf->nb_images,"","<div>","</div>",1); ?>
</div>

<div class="other">
<?php 
if ($this->countFieldsInGroup("DetailsFullText"))
	$this->loadFieldsInGroup($content,"DetailsFullText","<br/>");
?>
</div>

<div class="details_bottom">
<?php
if ($this->countFieldsInGroup("DetailsBottom"))
	$this->loadFieldsInGroup($content,"DetailsBottom","<br/>");
  echo '<br>';
  $this->displayPms($content,1); // 0 = public, 1 = private
?>
</div>
</div>
<?php if ($this->isReviewAllowed()) { ?>
<h2 class="componentheading2">
<?php echo BOSS_REVIEWS; ?> 
</h2>
<div class="boss_reviews">
	<?php $this->displayReviews($content); ?>
</div>
<br/>
<h2 class="componentheading2">
	<?php echo BOSS_ADD_REVIEWS; ?>
</h2>
<div>
	<?php $this->displayAddReview($content); ?>
</div>
<?php
}
?>
